"""
author= '李昊凌'
Create Time = 2020/7/1816:59
Change Time = 20/7/18
commit:"停车场离场"
"""
import cv2
from parking_database.insert import input_leave_record
from shibie.plate_recognition import plate_recodnition
def leave(path):
    img_car= cv2.imread(path)
    #识别车牌
    plate= plate_recodnition(img_car)
    time = input_leave_record(plate)
    return time[0]


